package com.lysj.bhp.wallet.repository;


import com.lysj.bhp.wallet.domain.BitCoinWallet;
import org.springframework.data.jpa.repository.JpaRepository;


public interface BitcoinWalletRepository extends JpaRepository<BitCoinWallet, Long> {

    BitCoinWallet findByUserId(Long userId);

    BitCoinWallet findFirstByOrderByLastQueryTimeAsc();
}
